package com.film;

/**
 * @author HustleLr
 * @version 1.0.0
 * @date 2023/12/13 11:23
 * @describe MovieReservationForm
 */
public class MovieReservationForm {
    private String customerName;
    private String contactNumber;
    private String movieTime;

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getContactNumber() {
        return contactNumber;
    }

    public void setContactNumber(String contactNumber) {
        this.contactNumber = contactNumber;
    }

    public String getMovieTime() {
        return movieTime;
    }

    public void setMovieTime(String movieTime) {
        this.movieTime = movieTime;
    }

    public boolean isValid() {
        // 在这里实现验证逻辑，如检查联系方式格式等
        return true; // 假设总是有效
    }
}
